<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>换行测试</title>
</head>
<body>
    <p style="width: 300px ;">士大夫大师傅士大夫大师傅打发打发打发的</p>
    <div style="width: 300px ;">
        <p style="white-space: normal;">This is an example with extra spaces and a new line here. to demonstrate normal.</p>
        <p style="white-space: nowrap;">This is an example with extra spaces and it will not wrap even if it's too long.</p>
    </div>
    
</body>
</html>